//
//  UIResponder+Router.swift
//  ChatDemo
//
//  Created by 范强伟 on 2024/5/8.
//

import Foundation

extension UIResponder {
    
    /// 路由方法回调
    /// - Parameters:
    ///   - eventName: 监听方法名
    ///   - userInfo: 属性
    ///   - bingUI: 需要传值的UI
    @objc func routerEventWithName(_ eventName: String,userInfo: Dictionary<String, Any>,_  bingUI: UIView? = nil){
        self.next?.routerEventWithName(eventName, userInfo: userInfo, bingUI)
    }
    
}
